#include "DynamicTurnManager.h"
#include <iostream>
using namespace std;

DynamicTurnManager :: DynamicTurnManager() : count(0), numberTurn(0) { }

bool DynamicTurnManager :: endPlayer() {
	++count;
	return count == numberTurn;
}

void DynamicTurnManager :: reset(Fleet* fl) {
	count = 0;
	numberTurn = fl->numberActiveBoat();
}
